package com.hengda.museumonline.utils;

import android.app.Activity;

import com.hengda.museumonline.R;

/**
 * @author：JFWU on 2016/9/23 16:41
 * @E-mail：jeffy12138@126.com
 */
public class ThemeChangeUtil {
    public static boolean isChange = true;

    public static void changeTheme(Activity activity) {
        if (isChange) {
            activity.setTheme(R.style.Theme_DayStyle);
        } else {
            activity.setTheme(R.style.Theme_NightStyle);
        }
    }
}
